package com.qf.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


/**
   @author KING
   @ClassName: com.qf.product.entity.AttrCategory
   @Description: 该类的功能描述
   @date: 2021/11/10 21:58 
*/
    

/**
    * 产品属性分类表
    */
@Data
@TableName(value = "product_attr_category")
public class AttrCategory {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 产品属性分类名
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 属性数量
     */
    @TableField(value = "attr_count")
    private Integer attrCount;

    /**
     * 参数数量
     */
    @TableField(value = "param_count")
    private Integer paramCount;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_ATTR_COUNT = "attr_count";

    public static final String COL_PARAM_COUNT = "param_count";
}